const state = {
  token: '',
  userInfo: ''
}
const mutations = {
  SETTOKEN(state, val) {
    state.token = val
  },
  SETUSERINFO(state, value) {
    state.userInfo = value
  },
  LOGOUT(state) {
    state.token = ''
    state.userInfo = ''
  }
}
const actions = {
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
